Nslookup can return the IP address corresponding to the domain name, then the DNS settings in/etc/resolv.conf are not a problem. In fact, when using the ping command to process a domain name, use the gethostbyname () function to return the corresponding host information (participate in the source code); Host and nslookup are directly using DNS
Method/step:1. When the "ping" command is used to determine the smoothness of the DNS server, when "Request Timeout" occurs, we need to first troubleshoot the line, to ensure that the interfaces of routers, Moden, hubs, switches, and NICs are reliable and the network cable is intact.2. When the hardware lines and devices are correctly connected, we take the following methods to troublesh
[Root@localhost ~]# Ping www.baidu.com
Prompt Ping:unknown Host
This is because the DNS server is not configured, and if the network is not a problem, you can follow these steps to check:
1) vi/etc/resolv.conf
Add to
NameServer 192.168.59.2 Native gateway address (router address)
Search Localdomain # Search parameter Specify the search order for the domain name
2) Set up the gateway
Vi/etc/sysconf/n
Scenario: The day before the virtual machine in the configuration of the centos6.3, you can normally surf the internet, and the FTP server to build up, today a boot this goods unexpectedly can not surf the internet, depressed ....
Problem:
The following figure:
Can ping the IP address, but the domain name Ping pass ...
Resolution process: STEP1) A preliminary assessment of
Failure problem: Each computer in the local area network is accessing the Internet server with a "Userenv" error in the log file, id "1000", and the query is a DNS error, but DNS is provided by the ISP and cannot ping.
Troubleshooting: DNS Failed to ping is a normal pheno
, record the Host Name and corresponding IP address to the cache, and then return the query result to the client.
Example
For example, suppose we want to query a host named www.test.com.cn on the Internet. From this name, we know that this host is located in CN, China, in addition, the WWW host under the domain name test.com.cn is the organization name. The following describes each step of the name resolution process.
In step 1, enter the host query command on the
, so every ISP has a DNS. When you enter a text URL in the address bar of your browser, it first connects to your ISP's domain name resolution server to find its IP address. If it cannot be found, connect to the DNS on the previous layer to continue the query. Currently, only five master-level DNS servers have a comple
The architecture automatically resolves the DNS servers of different IP addresses, such as Linux Enterprise applications and Linux server applications, based on the users of China Telecom and China Netcom. The following is a detailed description. This document is based on FreeBSD and BIND platforms. Win users should be avoided. If there is no FreeBSD basic, do not. Linux or other Unix users can serve as ref
responsible for maintaining all data in this subdomain. they can change data freely, and even divide the subdomains they manage into more subdomains and reallocate them. the parent domain only contains pointers pointing to these subdomains, so it references queries there. 1.2 A Domain name server is called a Domain name server ). generally, a Domain Name Server has complete information about some domain name spaces (called zone zones. the domain name server can have multiple zones for authoriza
1. Nslookup (name server lookup): a tool used to query Internet domain name information or diagnose DNS server problems. Nslookup can specify the query type. You can check the DNS record survival time and specify the DNS server to be used for explanation. Nslookup is a command line tool that monitors whether the DNS se
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.